package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@Data
@TableName("sc_copyright_auction_round")
@ApiModel(value = "sc_copyright_auction_round 对象", description = "版权拍卖轮次")
public class CopyrightAuctionRound extends SuperEntity implements Serializable {
    @ApiModelProperty(value = "拍卖id")
    private Long copyrightAuctionId;

    @ApiModelProperty(value = "拍卖记录id")
    private Long copyrightAuctionRecordId;

    @ApiModelProperty(value = "本轮开始时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date roundStartTime;

    @ApiModelProperty(value = "本轮结束时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date roundEndTime;

    @ApiModelProperty("本轮最高价格")
    private Integer roundHighestPrice;

    @ApiModelProperty("当前轮数")
    private Integer round;

    @ApiModelProperty("是否已经结算数据")
    private Boolean finish;

}
